home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.security
- From: fuat@ans.net (Fuat C. Baran)
- Subject: Re: .rhosts and security
- Message-ID: <1992Apr29.175118.32432@ans.net>
- Date: Wed, 29 Apr 1992 17:51:18 GMT
- References: <29fd5774@babyoil.ftp.com> <1992Apr28.110315.18688@bronze.ucs.indiana.edu>
- Organization: Advanced Network & Services, Inc.
-
- In article <1992Apr28.110315.18688@bronze.ucs.indiana.edu> Marc VanHeyningen <mvanheyn@copper.ucs.indiana.edu> writes:
- >In article <29fd5774@babyoil.ftp.com> hobbit@babyoil.ftp.com (*Hobbit*) writes:
- >>Drop something like this into your weekly crontab. Modify appropriately with
- >>grep pipes to find non-local host entries. Fortunately our site is still small
- >>enough where I can read the output myself and yell at people.
- >
- >I suppose this could work, given either sufficiently "good" grep
- >processing, or maybe lots of sysadmin time. I don't know that it'd
- >apply very well in large systems, of course.
-
- I have a quick and dirty perl script that checks for .rhosts files
- (and the ownership and permissions on the file and home directory).
- The script reads a configuration file in which you can specify file
- and directory permissions (for exceptions), default allowed domains
- and hosts, and per user exceptions. Don't know if it scales well to
- large sites.
-
- Among other things to consider (which others have also mentioned) is
- the privacy issue if you are looking in other people's directories,
- etc. Also, this shouldn't give you a false sense of security since
- this only checks the current state of affairs, and a determined user
- can always bypass it. Most useful as a way of reminding people of
- temporary entries that they may not want to keep in their .rhosts
- files.
-
- You might also want to look into tcp_wrapper and restrict incoming
- rsh/rlogins to a particular set of hosts (though not on a per user
- basis).
-
- --Fuat
-
-
- --
- Advanced Network & Services, Inc. fuat@ans.net
- 100 Clearbrook Road 914-789-5328
- Elmsford, NY 10523 914-789-5310 (Fax)
-
-